package com.authority.controller;


import com.authority.utils.Result;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author MINGHUI
 * @since 2023-10-13
 */
@RestController
@RequestMapping("/api/user")
public class UserController extends BaseController{


    @GetMapping("list")
    public Result listAll(){
        return Result.ok(userService.list());
    }

}

